package com.yiyuan.app.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("退出游戏请求入参")
public class ExitGameDTO implements Serializable {

    @ApiModelProperty(value = "roomId",required = true)
    @NotNull(message = "roomId不能为空")
    private Long roomId;

}
